home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 32
/
Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso
/
Aminet
/
comm
/
mail
/
YamCheckNew.lha
/
YamCheckNew.rexx
next >
Wrap
OS/2 REXX Batch file
|
1999-05-18
|
486b
|
36 lines
/*$VER: YamCheckNew.rexx V1.2 Roger Bennett (18-5-99) bennett@net.ntl.com
Checks and reports Amount of New Mail in Incoming Folder
*/
/*Variables to be changed */
SayCommand="C:Say" /* Path to Say */
options results
address 'YAM'
MAILINFO Stem fi.
M=fi.index
FOLDERINFO Stem fi.
F=fi.number
SETFOLDER 0
FOLDERINFO Stem fi.
N=fi.new
USERINFO STEM fi.
U=fi.username
If N>=1 then ADDRESS COMMAND SayCommand' "You have Personal E Mail 'U'!"'
SETFOLDER F
SETMAIL M
EXIT